Change cl-case to cl-ecase
authorJeremy Bryant <jb@jeremybryant.net>
Tue, 2 Apr 2024 20:54:40 +0000 (21:54 +0100)
committerJustin Burkett <justin@burkett.cc>
Tue, 9 Apr 2024 17:51:53 +0000 (13:51 -0400)
* which-key.el (which-key--popup-max-dimensions):
Change cl-case to cl-ecase to signal error if needed.

which-key.el

index d4efa3ede7556fa211e8f77d53f6bcef098774fa..bf45386f57886b3a3089b2b2191ea4fab83019d5 100644 (file)
@@ -1366,7 +1366,7 @@ Dimension functions should return the maximum possible (height
 . width) of the intended popup. SELECTED-WINDOW-WIDTH is the
 width of currently active window, not the which-key buffer
 window."
-  (cl-case which-key-popup-type
+  (cl-ecase which-key-popup-type
     (minibuffer (which-key--minibuffer-max-dimensions))
     (side-window (which-key--side-window-max-dimensions))
     (frame (which-key--frame-max-dimensions))